from src.actions.base_action import Advance,TurnLeft,TurnRight,Sleep,Stop
from src.utils import Controller

class Left_Right():
    def __init__(self):
        self.force = True
        self.update_controller_speed = False
        self.action_seq = [
            Advance(speed=32),
            Sleep(2),
            TurnLeft(speed=29,degree=1.1),
            Sleep(0.8),
            Advance(speed=29),
            Sleep(1),
            TurnRight(speed=29,degree=1.2),
            Sleep(0.8),
            Stop()
        ]
        
        
ctrl = Controller()        
ctrl.execute(Left_Right())